.code-layout {
    // background: #F2F6FC;
    // padding-bottom: 20px;
    display: flex;

    .code-materials {
        flex: 1;
        padding-right: 16px;

        .file {
            // border: 1px solid #DCDFE6;
            padding-bottom: 40px;
            box-shadow: rgba(0, 0, 0, .1) 0px 2px 12px 0px;
        }

        .preview {
            margin-top: 16px;
        }
    }

    .code-info {
        // width: 300px;
        width: 100%;
        // border: 1px solid #DCDFE6;
        padding: 0 3% 16px;
        box-sizing: border-box;
        // box-shadow: rgba(0, 0, 0, .1) 0px 2px 12px 0px;

        .code-info-table {
            // width: 100%;

            tr {
                border-bottom: 1px solid rgba(128, 128, 128, 0.1);
            }

            th,
            td {
                padding-right: 50px;
                min-width: 90px;
                padding-bottom: 5px;
            }
        }

        .code-info-item {
            // * {
            //     // border-bottom: 1px solid rgba(#000, .1);
            //     // padding-bottom: .625rem;
            // }
            margin-bottom: 20px;
        }

        .code-info-item:last-child {
            border: 0;
            padding: 0;
        }

        .info-item-tcp-port {
            display: flex;

            li {
                line-height: 1.5em;

                span {
                    &::after {
                        content: "";
                        display: inline-block;
                        width: 1px;
                        height: 10px;
                        background: rgba(#eee, .8);
                        margin: 0 20px;
                    }

                    &:last-child::after {
                        display: none;
                    }
                }
            }
        }
    }

    .info-title {
        line-height: 3rem;
        position: relative;
        // padding-top: 16px;
        border-bottom: 1px solid rgba(#000, .1);
        // padding-bottom: .625rem;

        .edit {
            position: absolute;
            // right: 0;
            left: 135px;
            top: 16px;
            font-size: 16px;
            width: 20px;
            height: 20px;
            text-align: center;
            line-height: 20px;
            cursor: pointer;
            color: #409EFF;
        }
    }

    .code-dl {
        // margin-bottom: 20px;
        // background-color: #F2F6FC;
        // border-radius: 4px;

        .link {
            color: #409EFF;
        }

        .key {
            width: 7.5rem;
        }
    }

    .info-item {
        li {
            border-bottom: 1px solid rgba(#9AAFF9, .23);
            line-height: 54px;
            overflow: hidden;

            *{
                margin-right: 40px;
            }

            .key {
                float: left;
                min-width: 130px;
            }

            .val {
                float: left;
                // width: 200px;
                margin-left: 10px;
            }

            .commit {
                float: left;
                margin-right: 40px;
                min-width: 350px;
            }
        }
    }

    .code-md {
        margin-top: 2.5rem;
    }

    .list-box {
        width: 20%;
        min-width: 15rem;
        margin-right: 20px;
        padding: 20px 20px 20px 0;
        border-radius: 10px;
        // background: #202432;
        border-right: 1px solid rgba(#808080, .2);

        .list-item {
            line-height: 38px;
            margin-bottom: 20px;

            span {
                display: inline-block;
                width: 100px;
            }
        }

        .tooltip-bar {
            display: flex;

            .tooltip {
                width: 15rem;
            }
        }

        .metrice-list-box {
            margin-top: 20px;

            .title {
                line-height: 2em;
                border-bottom: 1px solid rgba(#808080, .2);
            }

            .metrice-list-container {
                padding: 10px;

                li {
                    line-height: 2em;
                    cursor: pointer;
                }

                .is-hide {
                    color: rgba(#333, .5);
                }
            }
        }
    }

    .container {
        width: 100%;

        //display: flex;
        //justify-content: space-between;
        h3 {
            margin: 20px;
        }

        .container-item {
            // width: 50%;
            min-width: 15rem;

            h3 {
                line-height: 2em;
                font-size: 18px;
            }
        }

        .container-item.target {
            //width: 60%;
        }

        .container-item.resource {
            //width: 40%;
            display: grid;
            grid-template-columns: 50% 50%;
            //border-left: 1px solid rgba(#808080, .2);
            padding-left: 30px;
        }
    }
}

.outin-box {
    display: flex;
    padding-top: 10px;

    .outin-input {
        flex: 1;
        display: flex;

        .outin-input-name {
            display: flex;
        }

        .outin-input-name-title {
            width: 100px;
            line-height: 26px;
            text-align: center;
        }
    }

    .entrance {
        margin: 0 10px 0 0;
    }
}

.outin-handle {
    // width: 104px;
    display: flex;

    a {
        min-width: 48px;
        height: 24px;
        margin: 2px 0 0 4px;
        text-align: center;
        line-height: 22px;
        font-size: 12px;
        background: rgba(120, 114, 246, 0.1);
        border-radius: 4px 4px 4px 4px;
        border: 1px solid #7872F6;
        box-sizing: border-box;
        padding: 0 8px;
    }

    .slot-btn {
        width: 48px;
        height: 26px;
        margin: 2px 0 0 4px;
    }
}

port-lis {
    display: flex;
    width: calc(100% - 24px);
    // padding-top: 10px;

    .port-el-input {
        flex: 1;
        margin-left: 10px;
        box-sizing: border-box;
    }

    .port-lis-radio {
        padding-top: 4px;
        width: 160px;
    }
}